.class public Les/jf0;
.super Lcom/jecelyin/common/widget/dialog/a$c;
.source "PrefTextCustomDialog.java"


# instance fields
.field protected r:[Ljava/lang/CharSequence;

.field protected s:[Ljava/lang/CharSequence;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 5
    invoke-direct {p0, p1}, Lcom/jecelyin/common/widget/dialog/a$c;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;[Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/jecelyin/common/widget/dialog/a$c;-><init>(Landroid/content/Context;)V

    .line 2
    iput-object p2, p0, Les/jf0;->r:[Ljava/lang/CharSequence;

    .line 3
    iput-object p3, p0, Les/jf0;->s:[Ljava/lang/CharSequence;

    .line 4
    invoke-virtual {p0}, Les/jf0;->g()Les/jf0;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;I)Ljava/lang/String;
    .locals 2

    if-eqz p1, :cond_0

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v1, 0x0

    .line 1
    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v0, v1

    invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_0
    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    :goto_0
    return-object p1
.end method

.method public d()I
    .locals 1

    .line 1
    iget-object v0, p0, Les/jf0;->r:[Ljava/lang/CharSequence;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    array-length v0, v0

    :goto_0
    return v0
.end method

.method public e()[Ljava/lang/CharSequence;
    .locals 1

    .line 1
    iget-object v0, p0, Les/jf0;->r:[Ljava/lang/CharSequence;

    return-object v0
.end method

.method public f()[Ljava/lang/CharSequence;
    .locals 1

    .line 1
    iget-object v0, p0, Les/jf0;->s:[Ljava/lang/CharSequence;

    return-object v0
.end method

.method public g()Les/jf0;
    .locals 6

    .line 1
    const-class v0, Lcom/jecelyin/editor/v2/preference/dialog/vh/PrefTextViewHolder;

    invoke-virtual {p0, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/lang/Class;)I

    move-result v0

    .line 2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    invoke-virtual {p0}, Les/jf0;->d()I

    move-result v2

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v2, :cond_0

    .line 4
    new-instance v4, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;

    invoke-direct {v4, v0}, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;-><init>(I)V

    .line 5
    iget-object v5, p0, Les/jf0;->r:[Ljava/lang/CharSequence;

    aget-object v5, v5, v3

    iput-object v5, v4, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;->b:Ljava/lang/CharSequence;

    .line 6
    iget-object v5, p0, Les/jf0;->s:[Ljava/lang/CharSequence;

    aget-object v5, v5, v3

    iput-object v5, v4, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;->d:Ljava/lang/Object;

    .line 7
    invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 8
    :cond_0
    invoke-virtual {p0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/util/List;)Lcom/jecelyin/common/widget/dialog/a$c;

    return-object p0
.end method
